<form name="linkForm" class="form-horizontal" ng-init="dvm.init()" ng-submit="dvm.submit(linkForm.$valid)" novalidate>
  <div class="modal-header">
    <button type="button" class="close" ng-click="dvm.cancel()">&times;</button>
    <h4 class="modal-title">超链接</h4>
  </div>
  <div class="modal-body">
    <div class="form-group">
      <label class="col-sm-2 control-label">文本内容：</label>
      <div class="col-sm-10">
        <input type="text" name="text" class="form-control" ng-model="dvm.text" required autofocus>
      </div>
    </div>
    <div class="form-group">
      <label class="col-sm-2 control-label">链接地址：</label>
      <div class="col-sm-10">
        <input type="url" name="url" class="form-control" ng-model="dvm.url" required>
      </div>
    </div>
  </div>
  <div class="modal-footer">
    <button type="submit" class="btn btn-default" ng-disabled="linkForm.$invalid">
      <i class="fa fa-check"></i> 确定</button>
    <button type="button" class="btn btn-default" ng-click="dvm.cancel()">
      <i class="fa fa-times"></i> 取消</button>
  </div>
</form>
